package com.google.code.jmarias.common.action;

import java.util.HashMap;
import java.util.Map;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Ondrej Michal
 */
@XmlRootElement
public class RoomListEcho extends AbstractSignedMessage {

    private Map<Long, String> rooms = new HashMap<Long, String>();

    public RoomListEcho() {
        super();
    }

    public RoomListEcho(Map<Long, String> rooms) {
        super();
        this.rooms = rooms;
    }

    @Override
    public String toString() {
        return "Seznam vsech aktualne otevrenych mistnosti.";
    }

    public Map<Long, String> getRooms() {
        return rooms;
    }

    public void setRooms(Map<Long, String> rooms) {
        this.rooms = rooms;
    }

}
